import 'package:flutter/material.dart';

import '../../../common/system_config.dart';
import '../../../utils/tools/screenutil_tool.dart';

class RowItem extends StatelessWidget {
  dynamic data;
  double w;

  RowItem(double w,dynamic data) {
    this.w = w;
    this.data = data;
  }

  @override
  Widget build(BuildContext context) {
    // 标头字号
    TextStyle currencyFontSize = TextStyle(fontSize: SystemConfig.fs_content3);

    return Container(
      width: ST.setw(w),
      child: Text("$data",
        textAlign: TextAlign.center,
        style: TextStyle(
          fontSize: SystemConfig.fs_content3,

        )
      )
    );

  }
}